<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:forgeview="http://jboss.org/forge/view"
	template="/resources/scaffold/pageTemplate.xhtml">

	<f:metadata>
		<f:viewParam name="id" value="#{wfJobMasterBean.id}"/>
		<f:event type="preRenderView" listener="#{wfJobMasterBean.retrieve}"/>
	</f:metadata>

	<ui:param name="pageTitle" value="View Wf Job Master"/>

	<ui:define name="header">
		Wf Job Master
	</ui:define>

	<ui:define name="subheader">
		View existing Wf Job Master
	</ui:define>

	<ui:define name="footer"/>

	<ui:define name="main">
		<h:panelGrid columnClasses="label,component,required" columns="3">
			<h:outputLabel for="wfJobMasterBeanWfJobMasterJmNo" value="Jm No:"/>
			<h:outputText id="wfJobMasterBeanWfJobMasterJmNo" value="#{wfJobMasterBean.wfJobMaster.jmNo}"/>
			<h:outputText/>
			<h:outputLabel for="wfJobMasterBeanWfJobMasterHrEmp" value="Hr Emp:"/>
			<h:link id="wfJobMasterBeanWfJobMasterHrEmp" outcome="/hrEmp/view" value="#{wfJobMasterBean.wfJobMaster.hrEmp}">
				<f:param name="id" value="#{wfJobMasterBean.wfJobMaster.hrEmp.empNo}"/>
			</h:link>
			<h:outputText/>
			<h:outputLabel for="wfJobMasterBeanWfJobMasterWfWorkstation" value="Wf Workstation:"/>
			<h:link id="wfJobMasterBeanWfJobMasterWfWorkstation" outcome="/wfWorkstation/view" value="#{wfJobMasterBean.wfJobMaster.wfWorkstation}">
				<f:param name="id" value="#{wfJobMasterBean.wfJobMaster.wfWorkstation.wsNo}"/>
			</h:link>
			<h:outputText/>
			<h:outputLabel for="wfJobMasterBeanWfJobMasterJmCode" value="Jm Code:"/>
			<h:outputText id="wfJobMasterBeanWfJobMasterJmCode" value="#{wfJobMasterBean.wfJobMaster.jmCode}"/>
			<h:outputText/>
			<h:outputLabel for="wfJobMasterBeanWfJobMasterJmDescr" value="Jm Descr:"/>
			<h:outputText id="wfJobMasterBeanWfJobMasterJmDescr" value="#{wfJobMasterBean.wfJobMaster.jmDescr}"/>
			<h:outputText/>
			<h:outputLabel for="wfJobMasterBeanWfJobMasterJmCreatedDtm" value="Jm Created Dtm:"/>
			<h:outputText id="wfJobMasterBeanWfJobMasterJmCreatedDtm" value="#{wfJobMasterBean.wfJobMaster.jmCreatedDtm}">
				<f:convertDateTime pattern="MMM d, yyyy hh:mm:ss a" type="both"/>
			</h:outputText>
			<h:outputText/>
			<h:outputLabel for="wfJobMasterBeanWfJobMasterJmIsActive" value="Jm Is Active:"/>
			<h:outputText id="wfJobMasterBeanWfJobMasterJmIsActive" value="#{wfJobMasterBean.wfJobMaster.jmIsActive}"/>
			<h:outputText/>
			<h:outputLabel for="wfJobMasterBeanWfJobMasterJmEffectiveDate" value="Jm Effective Date:"/>
			<h:outputText id="wfJobMasterBeanWfJobMasterJmEffectiveDate" value="#{wfJobMasterBean.wfJobMaster.jmEffectiveDate}">
				<f:convertDateTime type="date"/>
			</h:outputText>
			<h:outputText/>
			<h:outputLabel for="wfJobMasterBeanWfJobMasterJmExpireDate" value="Jm Expire Date:"/>
			<h:outputText id="wfJobMasterBeanWfJobMasterJmExpireDate" value="#{wfJobMasterBean.wfJobMaster.jmExpireDate}">
				<f:convertDateTime type="date"/>
			</h:outputText>
			<h:outputText/>
			<h:outputLabel for="wfJobMasterBeanWfJobMasterWfFlowTransLines" value="Wf Flow Trans Lines:"/>
			<h:dataTable id="wfJobMasterBeanWfJobMasterWfFlowTransLines" styleClass="data-table" value="#{forgeview:asList(wfJobMasterBean.wfJobMaster.wfFlowTransLines)}" var="_item">
				<h:column>
					<f:facet name="header">
						<h:outputText value="Wf Flow Trans"/>
					</f:facet>
					<h:link outcome="/wfFlowTransLine/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="forgeviewdisplayitemWfFlowTrans" value="#{forgeview:display(_item.wfFlowTrans)}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Wf Flow Status"/>
					</f:facet>
					<h:link outcome="/wfFlowTransLine/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="forgeviewdisplayitemWfFlowStatus" value="#{forgeview:display(_item.wfFlowStatus)}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Wf Workstation"/>
					</f:facet>
					<h:link outcome="/wfFlowTransLine/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="forgeviewdisplayitemWfWorkstation" value="#{forgeview:display(_item.wfWorkstation)}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Hr Emp"/>
					</f:facet>
					<h:link outcome="/wfFlowTransLine/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="forgeviewdisplayitemHrEmp" value="#{forgeview:display(_item.hrEmp)}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Ft Flow Seq No"/>
					</f:facet>
					<h:link outcome="/wfFlowTransLine/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemFtFlowSeqNo" value="#{_item.ftFlowSeqNo}"/>
					</h:link>
				</h:column>
			</h:dataTable>
			<h:outputText/>
			<h:outputLabel for="wfJobMasterBeanWfJobMasterWfFlowMasterLines" value="Wf Flow Master Lines:"/>
			<h:dataTable id="wfJobMasterBeanWfJobMasterWfFlowMasterLines" styleClass="data-table" value="#{forgeview:asList(wfJobMasterBean.wfJobMaster.wfFlowMasterLines)}" var="_item">
				<h:column>
					<f:facet name="header">
						<h:outputText value="Wf Workstation"/>
					</f:facet>
					<h:link outcome="/wfFlowMasterLine/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="forgeviewdisplayitemWfWorkstation" value="#{forgeview:display(_item.wfWorkstation)}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Wf Flow Master"/>
					</f:facet>
					<h:link outcome="/wfFlowMasterLine/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="forgeviewdisplayitemWfFlowMaster" value="#{forgeview:display(_item.wfFlowMaster)}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Wf Flow Status"/>
					</f:facet>
					<h:link outcome="/wfFlowMasterLine/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="forgeviewdisplayitemWfFlowStatus" value="#{forgeview:display(_item.wfFlowStatus)}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Fm Flow Seq No"/>
					</f:facet>
					<h:link outcome="/wfFlowMasterLine/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemFmFlowSeqNo" value="#{_item.fmFlowSeqNo}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Fm Flow Next Seq No"/>
					</f:facet>
					<h:link outcome="/wfFlowMasterLine/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemFmFlowNextSeqNo" value="#{_item.fmFlowNextSeqNo}"/>
					</h:link>
				</h:column>
			</h:dataTable>
			<h:outputText/>
		</h:panelGrid>

		<div class="buttons">
			<h:link value="View All" outcome="search" styleClass="btn btn-primary"/> 
			<h:link value="Edit" outcome="create" includeViewParams="true" styleClass="btn btn-primary"/>
			<h:link value="Create New" outcome="create" styleClass="btn btn-primary"/>
		</div>
	</ui:define>

</ui:composition>